package com.chixing.day05;

import com.chixing.day04.homework.Order;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Y2014188432
 */
public class OrderList {
    public static void main(String[] args) {
        List<Order> orderList = new ArrayList<>();
        orderList.add(new Order("12010",1000));
        orderList.add(new Order("25410",1250));
        orderList.add(new Order("57810",1452));

        for (Order order:orderList) {
            System.out.println(order);
        }
    }
}
